'use strict';


const Controller = require('egg').Controller;
class CinemaController extends Controller {
    async list() {
        const res = await this.ctx.service.cinemaService.list();
        this.ctx.body = res;
    }
    async detail(ctx) {
        const res = await this.ctx.service.cinemaService.detail();
        this.ctx.body = res;
    }
}

module.exports = CinemaController;
